position

Positions the center of the view at the given x and y coordinates within its parent’s coordinate space.

Type

1position?: { x: number, y: number }

Example

1<Text
2  position={{ 
3    x: 100,
4    y: 200 
5  }}
6>Positioned Text</Text>